<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::get('query/', 'QuerylistController@showBasic');
Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');

Route::get('/csite', 'CompanyController@home')->name('csite');
Route::get('/csite/create', 'CompanyController@showCreate')->name('csite.create');//注册页面展示
Route::post('/csite/create', 'CompanyController@create')->name('csite.truecreate');//执行注册

Route::get('/csite/list', 'CompanyController@list')->name('csite.comlist');//企业列表
Route::get('/csite/charge', 'CompanyController@showCharge')->name('csite.showCharge');//企业缴费页面
//Route::get('/csite/search', 'CompanyController@search')->name('csite.search');//查询企业
Route::view('/csite/search', 'csite.search')->name('csite.search');
